<template>
  <div v-if="visible">
    御剑乘风来,除魔天地间!===对话框==={{ visible }}
    <el-button type="primary" @click="cancel">取消</el-button>
    <el-button type="success">确认</el-button>
  </div>
</template>
<script>
export default {
  name: '',
  props: {
    visible: {
      type: Boolean
    }
  },
  data() {
    return {}
  },
  created() {},
  computed: {},
  methods: {
    cancel() {
      this.$emit('update:visible', false)
    }
  }
}
</script>
<style lang='less'  scoped>
</style>
